package com.dime.basic.api;

import com.dime.basic.api.domain.DimeBaseharm;
import com.dime.basic.api.domain.DimeBaseitemdescribe;
import com.dime.basic.api.factory.RemoteBaseCombFallbackFactory;

import com.dime.basic.api.factory.RemoteItemDescribeFallbackFactory;
import com.dime.basic.api.model.HarmType;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


import java.util.List;

@FeignClient(contextId = "remoteItemDescribeService", value = ServiceNameConstants.DM_BASIC, fallbackFactory = RemoteItemDescribeFallbackFactory.class)
public interface RemoteItemDescribeService {


    @GetMapping("/baseitemdescribe/info/itemdescribe/{baseItemId}")
    public R<List<DimeBaseitemdescribe>> getItemDescribeByBaseItemId(@PathVariable("baseItemId") String baseItemId);

}
